using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class button : MonoBehaviour
{
    static public button ins;
    
    public Slider slider;
    void Awake()
    {
        ins = this;
    }
    public void GetValue()
    {
        pointManager.ins.value = slider.value;
    }
    public void last()
    {

        pointManager.ins.last = true;
    }
    public void next()
    {

        pointManager.ins.next = true;
    }
    public void start()
    {
        pointManager.ins.put = true;
    }
    public void flush()
    {

        pointManager.ins.des = true;
    }
    public void setValue(float x)
    {
        slider.value = x;
    }
}
